......
    

Rules: Detail view  Back to full view

A set of rulebooks and activities in detail.

......

Rules added to the sequence of play

These rulebooks are the best places to put rules timed to happen at the start, at the end, or once each turn. (Each is run through at a carefully chosen moment in the relevant top-level rulebook.) It is also possible to have rules take effect at specific times of day or when certain events happen. Those are listed in the Scenes index, alongside rules taking place when scenes begin or end.

......

When play begins  ... rulebook

 name

    (init library messages; ...) 

    (change the library message person to third person; ...) 

    (say "Welcome to [bold type]Art of Fugue[roman type], a collection of fiendish puzzles. Well--the first puzzles aren't too fiendish. You can change between puzzles by typing 'next puzzle' and 'previous puzzle', or restart the current puzzle by typing 'restart puzzle'. You can get to the main menu by typing 'menu'. Have fun!") 

......

......

Every turn  ... rulebook

 name

    when the puzzle number is 1  winning the first puzzle rule   name  unlist 

    when the puzzle number is 2  winning the second puzzle rule   name  unlist 

    when the puzzle number is 3  winning the third puzzle rule   name  unlist 

    when the puzzle number is 5  winning the fifth puzzle rule   name  unlist 

    when the puzzle number is 6  winning the sixth puzzle rule   name  unlist 

    when the puzzle number is 7  winning the seventh puzzle rule   name  unlist 

    when the puzzle number is 8  winning the eighth puzzle rule   name  unlist 

    cycle through players rule   name  unlist 

    reset the apple counter rule   name  unlist 

    reset the banana counter rule   name  unlist 

    when the puzzle number is 1   

    when the puzzle number is 2   

    when the puzzle number is 4 and count is 0   

    when the puzzle number is 8   

......

......

When play ends  ... rulebook

 name

There are no rules in this rulebook.

......